package com.abc.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author xiangyu
 * @Date 2021/7/21 16:13
 * @Version 1.0
 */
@Configuration
public class FeignConfiguration {
    @Bean
    public Logger.Level feignLoggerLevel(){
       //记录所有请求和响应的明细，包括头信息，请求体，元数据
        return Logger.Level.FULL;
    }
}
